<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>修改类别</title>
 <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
 <div  class="container">
   <h2>修改类别</h2>
   <form action="UpdateServlet" method="post">
      <input type="hidden" name="id" value="${cate.id}">
      <div class="form-group">
        <label>类别名称</label>
        <input type="text" name="cname" class="form-control" value="${cate.name}">
      </div> 
      <div class="form-group">
        <label>备注</label>
        <input type="text" name="remark" class="form-control" value="${cate.remark}">
      </div> 
      <button class="btn btn-primary">修改</button>
   </form>
 </div>
</body>
</html>